
		

<div class="aw-container-wrap">
		<div class="container">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">
					<!-- 话题推荐bar -->
										<!-- 话题推荐bar -->
					<!-- 话题bar -->
					<div class="aw-mod aw-topic-bar" id="question_topic_editor" data-type="question" data-id="221">
						<div class="tag-bar clearfix">
							
							<span class="icon-inverse aw-edit-topic" style="display:none"><i class="icon icon-edit"></i></span>						</div>
					</div>
					<!-- end 话题bar -->
					 	<div class="aw-mod aw-question-detail aw-item">
							<div class="mod-head">
								<h1>
									<?php echo $data['title']; ?>							</h1>

															<div class="operate clearfix">
									<a href="javascript:;" onclick="AWS.User.follow($(this), 'question', 221);" class="follow btn btn-normal btn-success pull-left  active"><span>取消关注</span> <em>|</em> <b>1</b></a>
									<!-- 下拉菜单 -->
									<div class="btn-group pull-left">
										<a class="btn btn-gray dropdown-toggle" data-toggle="dropdown" href="javascript:;">...</a>
										<div class="aw-dropdown pull-right" role="menu" aria-labelledby="dropdownMenu">
											<ul class="aw-dropdown-list">
												<li>
													<a href="http://nuke.cgspread.com/question/221?column=log&rf=false" rel="nofollow">修改记录</a>
												</li>
										</div>
									</div>
									<!-- end 下拉菜单 -->
								</div>
														</div>
							<div class="mod-body">
								<div class="content markitup-box">
									<br/><?php echo $data['content']; ?>
																</div>
																					</div>
							<div class="mod-footer">
								<div class="meta">
									<span class="text-color-999"><?php echo $data['time']; ?></span>

									<a data-id="221" data-type="question" class="aw-add-comment text-color-999 " data-comment-count="0" data-first-click="hide"><i class="icon icon-comment"></i>添加评论</a>

																	<a class="text-color-999 aw-invite-replay"><i class="icon icon-invite"></i>邀请 </a>
									<?php if ($_SESSION['username']=='zp5573') { ?>
										<a class="text-color-999" href="{:U('index/index/question_edit',array('id'=>$data['id']))}"><i class="icon icon-edit"></i>编辑</a>	
									<?php }elseif ($data['username']==$_SESSION['username']) { ?>	
										<a class="text-color-999" href="{:U('index/index/question_edit',array('id'=>$data['id']))}"><i class="icon icon-edit"></i>编辑</a>	
										
									<?php }else{ ?>

									<?php } ?>						
									
																
																	<a class="text-color-999 aw-add-question-related hidden-xs"><i class="icon icon-bind"></i> 相关链接</a>
																	<div class="pull-right more-operate">
										
										<!-- <a class="text-color-999"  onclick="AWS.dialog('shareOut', {item_type:'question', item_id:221});"> -->
										<a class="text-color-999 dropdown-toggle" data-toggle="dropdown">
											<i class="icon icon-share"></i>分享									</a>
										<div aria-labelledby="dropdownMenu" role="menu" class="aw-dropdown shareout pull-right">
											<ul class="aw-dropdown-list">
												<li><a onclick="AWS.User.share_out('tsina');"><i class="icon icon-weibo"></i> 新浪微博</a></li>
												<li><a onclick="AWS.User.share_out('qzone');"><i class="icon icon-qzone"></i> QZONE</a></li>
												<li><a onclick="AWS.User.share_out('weixin');"><i class="icon icon-wechat"></i> 微信</a></li>
											</ul>
										</div>

										<a href="javascript:;" class="text-color-999" onclick="AWS.dialog('report', {item_type:'question', item_id:221})"><i class="icon icon-report"></i>举报</a>								</div>
								</div>
							</div>
							<!-- 站内邀请 -->
							<div class="aw-invite-box hide">
								<div class="mod-head clearfix">
									<div class="search-box pull-left">
										<input id="invite-input" class="form-control" type="text"  placeholder="搜索你想邀请的人..."/>
										<div class="aw-dropdown">
											<p class="title">没有找到相关结果</p>
											<ul class="aw-dropdown-list"></ul>
										</div>
										<i class="icon icon-search"></i>
									</div>
									<div class="invite-list pull-left hide">
										已邀请:
																		</div>
								</div>
														</div>
							<!-- end 站内邀请 -->
							<!-- 相关链接 -->
							<div class="aw-question-related-box hide">
								<form action="http://nuke.cgspread.com/publish/ajax/save_related_link/" method="post" onsubmit="return false" id="related_link_form">
									<div class="mod-head">
										<h2>与内容相关的链接</h2>
									</div>
									<div class="mod-body clearfix">
										<input type="hidden" name="item_id" value="221" />
										<input type="text" class="form-control pull-left" name="link" value="http://" />

										<a onclick="AWS.ajax_post($('#related_link_form'));" class="pull-left btn btn-success">提交</a>
									</div>
								</form>
							</div>
							<!-- end 相关链接 -->
						</div>
					

										<div class="aw-mod aw-question-comment">
						<div class="mod-head">
							<ul class="nav nav-tabs aw-nav-tabs active">
								
								<h2 class="hidden-xs"><?php echo $data['replay']; ?> 个回复</h2>
							</ul>
						</div>
						<div class="mod-body aw-feed-list">
						<?php foreach ($res as  $value)  {  ?>
							 <div class="aw-item" uninterested_count="0" force_fold="0" id="answer_list_255">
							    <div class="mod-head">
							        <a class="anchor" name="answer_255">
							        </a>
							        <!-- 用户头像 -->
							        <a class="aw-user-img aw-border-radius-5" href="http://nuke.cgspread.com/people/super"
							        data-id="106">
							            <img src="__ROOT__/<?php echo $value['head_img']; ?>"
							            alt="">
							        </a>
							        <!-- end 用户头像 -->
							        <div class="title">
							            <p>
							                <a class="aw-user-name" href="http://nuke.cgspread.com/people/super" data-id="106">
							                    <?php echo $value['username']; ?>
							                </a>
							            </p>
							            <p class="text-color-999 aw-agree-by hide">
							                赞同来自:
							            </p>
							        </div>
							    </div>
							    <div class="mod-body clearfix">
							        <!-- 评论内容 -->
							        <div class="markitup-box">
							            <br>
							            <?php echo $value['content']; ?>
							        </div>
							        <!-- end 评论内容 -->
							    </div>
							    <div class="mod-footer">
							        <!-- 社交操作 -->
							        <div class="meta clearfix">
							            <span class="text-color-999 pull-right">
							               <?php echo $value['time']; ?>
							            </span>
							            <!-- 投票栏 -->
							            <span class="operate">
							                <a class="agree  " onclick="AWS.User.agree_vote(this, 'zp5573', 255);">
							                    <i data-placement="right" title="" data-toggle="tooltip" class="icon icon-agree"
							                    data-original-title="赞同回复">
							                    </i>
							                    <b class="count">
							                        0
							                    </b>
							                </a>
							                <a class="disagree " onclick="AWS.User.disagree_vote(this, 'zp5573', 255)">
							                    <i data-placement="right" title="" data-toggle="tooltip" class="icon icon-disagree"
							                    data-original-title="对回复持反对意见">
							                    </i>
							                </a>
							            </span>
							            <!-- end 投票栏 -->
							            <span class="operate">
							                <a class="aw-add-comment" data-id="255" data-type="answer" data-comment-count="0"
							                href="javascript:;">
							                    <i class="icon icon-comment">
							                    </i>
							                    0
							                </a>
							            </span>
							            <!-- 可显示/隐藏的操作box -->
							            <div class="more-operate">
							                <a class="aw-icon-thank-tips text-color-999" data-original-title="这是一个没有价值的回复"
							                data-toggle="tooltip" title="" data-placement="bottom" onclick="AWS.User.answer_user_rate($(this), 'uninterested', 255);">
							                    <i class="icon icon-fold">
							                    </i>
							                    没有帮助
							                </a>
							                <a href="{:U('index/index/collection',array('id'=>$value['id']))}" onclick="AWS.dialog('favorite', {item_id:255, item_type:'answer'});"
							                class="text-color-999">
							                    <i class="icon icon-favor">
							                    </i>
							                    收藏
							                </a>
							                <a href="javascript:;" onclick="AWS.User.answer_user_rate($(this), 'thanks', 255);"
							                class="aw-icon-thank-tips text-color-999" data-original-title="感谢热心的回复者"
							                data-toggle="tooltip" title="" data-placement="bottom">
							                    <i class="icon icon-thank">
							                    </i>
							                    感谢
							                </a>
							                <div class="btn-group pull-left">
							                    <a class="text-color-999 dropdown-toggle" data-toggle="dropdown">
							                        <i class="icon icon-share">
							                        </i>
							                        分享
							                    </a>
							                    <div aria-labelledby="dropdownMenu" role="menu" class="aw-dropdown shareout pull-right">
							                        <ul class="aw-dropdown-list">
							                            <li>
							                                <a onclick="AWS.User.share_out('tsina', $(this).parents('.aw-item').find('.markitup-box').text());">
							                                    <i class="icon icon-weibo">
							                                    </i>
							                                    新浪微博
							                                </a>
							                            </li>
							                            <li>
							                                <a onclick="AWS.User.share_out('qzone', $(this).parents('.aw-item').find('.markitup-box').text());">
							                                    <i class="icon icon-qzone">
							                                    </i>
							                                    QZONE
							                                </a>
							                            </li>
							                            <li>
							                                <a onclick="AWS.User.share_out('weixin', $(this).parents('.aw-item').find('.markitup-box').text());">
							                                    <i class="icon icon-wechat">
							                                    </i>
							                                    微信
							                                </a>
							                            </li>
							                        </ul>
							                    </div>
							                </div>
							            </div>
							            <!-- end 可显示/隐藏的操作box -->
							        </div>
							        <!-- end 社交操作 -->
							    </div>
							</div>
						<?php } ?>
						    
						</div>
						

											</div>
										<!-- end 问题详细模块 -->

										<!-- 回复编辑器 -->
					<div class="aw-mod aw-replay-box question">
						<a name="answer_form"></a>
						<form action="{:U('index/index/answer')}"  method="post" id="answer_form" class="question_answer_form">
			        	<input type="hidden" name="question_id" value="<?php echo $data['id']; ?>" />
						<div class="mod-head">
							<a href="http://nuke.cgspread.com/people/" class="aw-user-name"><img alt="{$Think.session.username}" src="__ROOT__{$Think.session.face}"></a>
							<p>
								<label class="pull-right">
									<a href="/integral/rule/" target="_blank">积分规则</a>								</label>
									{$Think.session.username}					</p>
						</div>
						<div class="mod-body" >
							<div class="aw-mod aw-editor-box">
								<div class="mod-head" id="wmd-panel">
									<!-- <div class="wmd-panel">
							            <div id="wmd-button-bar"></div>
							            <textarea class="wmd-input form-control autosize" id="wmd-input" rows="15" name="answer_content"></textarea>
							        </div> -->
							        <textarea name="answer" id=""  rows="5" style="width:100%;" ></textarea>
								</div>
								<div class="mod-body clearfix">
									<input type="submit" class="btn btn-normal btn-success pull-right btn-reply" value="回复">
									<span class="pull-right text-color-999" id="answer_content_message">&nbsp;</span>
								</div>
							<!-- 	<div class="mod-footer">
									<div id="wmd-preview" class="wmd-panel wmd-preview"></div>
								</div> -->
							</div>

						</div>
						</form>
											</div>
					<!-- end 回复编辑器 -->
									</div>
				<!-- 侧边栏 -->
				<div class="col-md-3 aw-side-bar hidden-xs hidden-sm">
					<!-- 发起人 -->
										<div class="aw-mod">
						<div class="mod-head">
							<h3>发起人</h3>
						
						</div>
						<div class="mod-body">
							<dl>
								<dt class="pull-left aw-border-radius-5">
									<a href="{:U('index/setting/profile')}"><img alt="zp5573" src="__ROOT__<?php echo $data['head_img']; ?>" /></a>
								</dt>
								<dd class="pull-left">
									<a class="aw-user-name" href="{:U('index/setting/profile')}" data-id="766"><?php echo $data['username']; ?></a>
								</dd>
							</dl>
						</div>

					</div>
										<!-- end 发起人 -->

										<!-- 邀请别人回复 -->
					<div class="aw-mod email-invite-replay">
						<div class="mod-head">
							<h3>邮件邀请别人回复</h3>
						</div>
						<div class="mod-body clearfix">
							<!-- 侧边栏邀请box -->
							<form method="post" action="http://nuke.cgspread.com/question/ajax/email_invite/question_id-221" onsubmit="return false;" id="email_invite_form">
								<input class="form-control" type="text" name="email" placeholder="邮件邀请回复..."/>
								<a class="pull-right btn btn-mini btn-success" onclick="AWS.ajax_post($('#email_invite_form'));">邀请</a>
							</form>
							<!-- end 侧边栏邀请box -->
						</div>
					</div>
					<!-- end 邀请别人回复 -->
					
					
										<!-- 相关问题 -->
					<div class="aw-mod">
						<div class="mod-head">
							<h3>相关问题</h3>
						</div>
						<div class="mod-body font-size-12">
							<ul>
																<li><a href="http://nuke.cgspread.com/question/9">nuke擦除威亚有哪些方法</a></li>
																<li><a href="http://nuke.cgspread.com/question/13">在Nuke中，如何去场（DeInterlace）</a></li>
																<li><a href="http://nuke.cgspread.com/question/11">想学nuke这个软件，需要什么基础？</a></li>
																<li><a href="http://nuke.cgspread.com/question/104">在nuke中如何模拟真实色散效果</a></li>
																<li><a href="http://nuke.cgspread.com/question/55">Nuke里面摄像机跟踪替换地板和墙体有哪些方法？</a></li>
																<li><a href="http://nuke.cgspread.com/question/141"> 如何利用Nuke中的Grade节点对图像进行颜色匹配？</a></li>
																<li><a href="http://nuke.cgspread.com/question/70">Nuke有没有特殊复制的功能</a></li>
																<li><a href="http://nuke.cgspread.com/question/175">nuke三维中怎么使物体产生阴影？</a></li>
																<li><a href="http://nuke.cgspread.com/question/20">在Nuke中如何提取奇葩颜色ID层</a></li>
																<li><a href="http://nuke.cgspread.com/question/25">Nuke中加噪点流程</a></li>
																<li><a href="http://nuke.cgspread.com/question/33">求助nuke做热浪效果</a></li>
															</ul>
						</div>
					</div>
					<!-- end 相关问题 -->
					
					<!-- 问题状态 -->
					<div class="aw-mod question-status">
						<div class="mod-head">
							<h3>问题状态</h3>
						</div>
						<div class="mod-body">
							<ul>
								<li>最新活动: <span class="aw-text-color-blue">51 秒前</span></li>
								<li>浏览: <span class="aw-text-color-blue">1</span></li>
								<li>关注: <span class="aw-text-color-blue">1</span> 人</li>

								<li class="aw-border-radius-5" id="focus_users"></li>
							</ul>
						</div>
					</div>
					<!-- end 问题状态 -->
				</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">
	ATTACH_ACCESS_KEY = '4ca71944be6398308ab9ab8bcd23f76d';
	ITEM_IDS = '';
	COMMENT_UNFOLD = 'all';

	QUESTION_ID = 221;
	UNINTERESTED_COUNT = 5;

	ANSWER_EDIT_TIME = 30;

	USER_ANSWERED = '';

	UPLOAD_ENABLE = 'N';
	
</script>

<script type="text/javascript" src="http://nuke.cgspread.com/static/js/app/question_detail.js"></script>


<!--     <js href="__PUBLIC__/ueditor/ueditor.config.js" />    
    <js href="__PUBLIC__/ueditor/ueditor.all.min.js" />
<script>
    $(function(){
        var ue = UE.getEditor('wmd-panel',{
            serverUrl :'{:U('index/People/ueditor')}'
        });
    })
</script> -->